// vite.config.ts
import { defineConfig } from "file:///D:/%E5%AE%9D%E5%9C%86%E7%A7%91%E6%8A%80/expert-xiao-lis-answer/node_modules/vite/dist/node/index.js";
import vue from "file:///D:/%E5%AE%9D%E5%9C%86%E7%A7%91%E6%8A%80/expert-xiao-lis-answer/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import { resolve } from "path";
import AutoImport from "file:///D:/%E5%AE%9D%E5%9C%86%E7%A7%91%E6%8A%80/expert-xiao-lis-answer/node_modules/unplugin-auto-import/dist/vite.js";
import Components from "file:///D:/%E5%AE%9D%E5%9C%86%E7%A7%91%E6%8A%80/expert-xiao-lis-answer/node_modules/unplugin-vue-components/dist/vite.js";
import { ElementPlusResolver } from "file:///D:/%E5%AE%9D%E5%9C%86%E7%A7%91%E6%8A%80/expert-xiao-lis-answer/node_modules/unplugin-vue-components/dist/resolvers.js";
import ElementPlus from "file:///D:/%E5%AE%9D%E5%9C%86%E7%A7%91%E6%8A%80/expert-xiao-lis-answer/node_modules/unplugin-element-plus/dist/vite.mjs";
var __vite_injected_original_dirname = "D:\\\u5B9D\u5706\u79D1\u6280\\expert-xiao-lis-answer";
var vite_config_default = defineConfig(({ command, mode }) => {
  console.log(command, mode);
  return {
    plugins: [
      vue(),
      AutoImport({
        resolvers: [ElementPlusResolver()]
      }),
      Components({
        resolvers: [ElementPlusResolver()]
      }),
      ElementPlus({
        // useSource: true
      })
    ],
    publicDir: "public",
    base: "./",
    server: {
      host: "0.0.0.0",
      port: 8112,
      open: false,
      strictPort: false
      // proxy: {}
    },
    resolve: {
      alias: {
        "@": resolve(__vite_injected_original_dirname, "./src"),
        "components": resolve(__vite_injected_original_dirname, "./src/components"),
        "api": resolve(__vite_injected_original_dirname, "./src/api")
      }
    },
    css: {
      // css预处理器
      preprocessorOptions: {
        scss: {
          // charset: false,
          additionalData: `@use "./src/assets/css/variable.scss" as *;`
        }
      }
    },
    build: {
      outDir: "dist"
    }
  };
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data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